package cloud.shyidong.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import cloud.shyidong.core.entity.BaseEntity;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色菜单表实体
 * </p>
 * @author syd
 * @since 2023-05-31 13:14:46
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("system_role_menu")
public class SystemRoleMenuEntity implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @TableId(value = "role_id", type = IdType.INPUT)
    private Long roleId;

    /**
     * 菜单ID
     */
    @TableId(value = "menu_id", type = IdType.INPUT)
    private Long menuId;


}
